Entity __construct(
$attrs
)
|
|
Parameters:
API Tags:
void fromArray(
array
$array
)
|
|
Sets the value of attributes according to an associative array.
No attribute will be added or deleted. Attributes not present in the array will be set to Null.
Parameters:
API Tags:
Returns the attributes of this class in an associative array.
API Tags:
Information Tags:
mixed __get(
string
$attr
)
|
|
Returns the value of the attribute $attr.
Parameters:
API Tags:
Information Tags:
| Throws: | DomainException if $attr does not exist. |
| Since: | 0.1 |
void __set(
string
$attr, mixed
$value
)
|
|
Returns the value of the attribute $attr.
Parameters:
|
string |
$attr: |
|
|
mixed |
$value: |
|
API Tags:
Information Tags:
| Throws: | DomainException if $attr does not exist. |
| Since: | 0.1 |